﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Gola.VN.Scb.Web.Common.Models.UIProductModels>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Search result
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%--<div class="list_product">
        <% if (Model.Products != null && Model.Products.Count > 0)
           {%>
        <%  foreach (var item in Model.Products)
            {%>
        <div class="fl width_3" style="width: 25%;">
            <div class="block">
                <div class="picture_small">
                    <table cellpadding="0" cellspacing="0">
                        <tbody>
                            <tr>
                                <td>
                                    <a href='<%: item.View %>'>
                                        <img src="<%: item.ImageUrl %>" />
                                    </a>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="name">
                    <%:item.Title%></div>
                <div class="price">
                    <%: item.PriceDisplay%></div>
                <div id="bando" class="provider">
                    <a href="#?w=700" class="poplight" rel="provider_info">
                        <%: item.ProdiverName%></a>
                </div>
            </div>
            <!--HTML for the tooltips-->
            <div id="mystickytooltip" class="stickytooltip">
                <div style="padding: 5px">
                    <div id="sticky_product" class="atip">
                        <div class="name">
                            <%: item.Title%></div>
                        <div class="picture">
                            <img src='<%: item.ImageUrl %>' /></div>
                        <div class="teaser">
                            <%: MvcHtmlString.Create(item.Description)%></div>
                    </div>
                </div>
                <div class="stickystatus">
                </div>
            </div>
        </div>
        <%}
       }
           else
           {%>
        <div>
            Ko tim thay product nao</div>
        <%}%>
    </div>--%>
    <%Html.RenderPartial("ProductList", Model.ProductsByCategory); %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="LeftPanel" runat="server">
    <div class="left_menu_home">
        <div class="title">
            <div class="fl">
            </div>
            <div class="fc">
               <a href="/"> DANH MỤC SẢN PHẨM</a></div>
            <div class="fr">
            </div>
        </div>
    </div>
</asp:Content>
